package com.stylefeng.guns.modular.system.model;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 
 * </p>
 *
 * @author stylefeng123
 * @since 2018-06-01
 */
@TableName("nb_hybrank_detail")
public class HybrankDetail extends Model<HybrankDetail> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @TableField("g_sales_name")
    private String gSalesName;
    @TableField("g_sname")
    private String gSname;
    @TableField("g_scode")
    private String gScode;
    @TableField("g_bmoney")
    private Double gBmoney;
    @TableField("g_smoney")
    private Double gSmoney;
    @TableField("g_pbuy")
    private Double gPbuy;
    @TableField("g_tdate")
    private Date gTDate;
    @TableField("g_sales_code")
    private int gSalesCode;
    
    private String gSalesDetail;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getgSalesName() {
        return gSalesName;
    }

    public void setgSalesName(String gSalesName) {
        this.gSalesName = gSalesName;
    }

    public String getgSname() {
        return gSname;
    }

    public void setgSname(String gSname) {
        this.gSname = gSname;
    }

    public String getgScode() {
        return gScode;
    }

    public void setgScode(String gScode) {
        this.gScode = gScode;
    }

    public Double getgBmoney() {
        return gBmoney;
    }

    public void setgBmoney(Double gBmoney) {
        this.gBmoney = gBmoney;
    }

    public Double getgSmoney() {
        return gSmoney;
    }

    public void setgSmoney(Double gSmoney) {
        this.gSmoney = gSmoney;
    }

    public Double getgPbuy() {
        return gPbuy;
    }

    public void setgPbuy(Double gPbuy) {
        this.gPbuy = gPbuy;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }
    
    public Date getgTDate() {
		return gTDate;
	}

	public void setgTDate(Date gTDate) {
		this.gTDate = gTDate;
	}

	public int getgSalesCode() {
		return gSalesCode;
	}

	public void setgSalesCode(int gSalesCode) {
		this.gSalesCode = gSalesCode;
	}
	

	public String getgSalesDetail() {
		return gSalesDetail;
	}

	public void setgSalesDetail(String gSalesDetail) {
		this.gSalesDetail = gSalesDetail;
	}

	@Override
    public String toString() {
        return "HybrankDetail{" +
        "id=" + id +
        ", gSalesName=" + gSalesName +
        ", gSname=" + gSname +
        ", gScode=" + gScode +
        ", gBmoney=" + gBmoney +
        ", gSmoney=" + gSmoney +
        ", gPbuy=" + gPbuy +
        "}";
    }
}
